﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PersonaLibrary.Data;
using PersonaLibrary.ViewModel.PrintViewModel;

namespace PersonaLibrary.Commands.PrintCommands
{
	internal class PrintSingle : CommandBase
	{
		public override bool CanExecute(object parameter)
		{
			return parameter is Employee;
		}

		public override void Execute(object parameter)
		{
			PrintVM viewModel = new PrintVM(new List<Employee>{ (Employee)parameter} );
		}
	}
}
